projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1c030
)
window: Don't let solid-csd linger
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 24 Apr 2021 15:29:19 +0000
(11:29 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 24 Apr 2021 15:29:19 +0000
(11:29 -0400)
Just from reading the code, it seems that we
should unset .csd and .solid-csd at the same
time, since the are mutually exclusive and
we unset them here so realize() can set one
of them again.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 88a4e9721a3c1fd0b85bbd531e2b46cc3eec1548..d7048ed41260a757bb9c5624d129a0b5f6bdcc94 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-3038,8
+3038,10
@@
gtk_window_set_titlebar (GtkWindow *window,
if (titlebar == NULL)
{
+ /* these are updated in realize() */
priv->client_decorated = FALSE;
gtk_widget_remove_css_class (widget, "csd");
+ gtk_widget_remove_css_class (widget, "solid-csd");
goto out;
}